﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMS.Model;

namespace WMS.Repository.IRepository
{
    public interface IRoleMenuRepository
    {
        Task<List<RoleMenuModel>> GetRoleMenuById(long roleId);

        Task<int> DeleteRoleMenus(long roleId, List<long> menuIds);

        Task<int> AddRoleMenu(RoleMenuModel roleMenuModel);

        Task<int> AddRoleMenus(List<RoleMenuModel> roleMenus);

        Task<List<long>> GetRoleMenuIds(long roleId);

        Task<List<RoleMenuModel>> GetListByRoleIdsAsync(List<long> roleIds);
    }
}
